package com.kgc.crowd.distributioncrowdcommon.VO;

import com.kgc.crowd.distributioncrowdcommon.pojo.TagPO;

import java.util.ArrayList;
import java.util.List;

public class TagVO {
    private Integer id;

    private Integer pid;

    private String name;

    private List<TagVO> childrens=new ArrayList<>();

    public TagVO(Integer id, Integer pid, String name) {
        this.id = id;
        this.pid = pid;
        this.name = name;
    }

    public TagVO() {

    }

    public Integer getId() {

        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<TagVO> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<TagVO> childrens) {
        this.childrens = childrens;
    }
}
